package cn.zw.msmp.controller.vo;


public class BaseVO<T> {

	private long pageIndex;
	private long pageSize;
	private long total;
	private T rows;
	public BaseVO(long pageIndex, long pageSize, long total, T rows) {
		super();
		this.pageIndex = pageIndex;
		this.pageSize = pageSize;
		this.total = total;
		this.rows = rows;
	}
	
	public BaseVO(T rows) {
		super();
		this.rows = rows;
	}
	
	public BaseVO(long total) {
		super();
		this.total = total;
	}

	public long getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(long pageIndex) {
		this.pageIndex = pageIndex;
	}

	public long getPageSize() {
		return pageSize;
	}

	public void setPageSize(long pageSize) {
		this.pageSize = pageSize;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public T getRows() {
		return rows;
	}
	public void setRows(T rows) {
		this.rows = rows;
	}
	
	
}
